<?php /* Smarty version Smarty-3.1.8, created on 2012-10-27 10:41:20
         compiled from "E:\www\teraco/templates\admin\config_company\list.temp.html" */ ?>
<?php /*%%SmartyHeaderCode:7838508bba50eb6607-11597381%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e5f52f7a7717a7ef6c78ef440bfebf3fdfebf4aa' => 
    array (
      0 => 'E:\\www\\teraco/templates\\admin\\config_company\\list.temp.html',
      1 => 1346775624,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '7838508bba50eb6607-11597381',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'tabadmindefault' => 0,
    'infoText' => 0,
    'infoClass' => 0,
    'base_url' => 0,
    'formId' => 0,
    'objectLanguages' => 0,
    'objectlang' => 0,
    'company' => 0,
    '($_smarty_tpl->tpl_vars[\'company\']->value)' => 0,
    'address' => 0,
    '($_smarty_tpl->tpl_vars[\'address\']->value)' => 0,
    'nameFileLogo' => 0,
    'avatar' => 0,
    'admin_mail' => 0,
    'tel' => 0,
    'fax' => 0,
    'hotline' => 0,
    'op' => 0,
    'act' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_508bba5135d8b7_09942012',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_508bba5135d8b7_09942012')) {function content_508bba5135d8b7_09942012($_smarty_tpl) {?><?php if (!is_callable('smarty_function_l')) include 'E:\\www\\teraco\\libraries\\plugins\\function.l.php';
?><?php $_smarty_tpl->tpl_vars['formId'] = new Smarty_variable('list', null, 0);?>
<div id="content">
	<div class="highlight">
        <?php if (isset($_smarty_tpl->tpl_vars['tabadmindefault']->value)){?><?php echo $_smarty_tpl->tpl_vars['tabadmindefault']->value;?>
<?php }?>
        <?php if (isset($_smarty_tpl->tpl_vars['infoText']->value)){?>
            <div class="<?php echo $_smarty_tpl->tpl_vars['infoClass']->value;?>
">
                <h4>Result:</h4>
                <p><?php echo $_smarty_tpl->tpl_vars['infoText']->value;?>
</p>
            </div>
        <?php }?>
        <?php echo $_smarty_tpl->getSubTemplate ("admin/toolbar_config.temp.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('title'=>'toolbar_config'), 0);?>

        <div class="formType">
            <form action="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
" method="post" id="<?php echo $_smarty_tpl->tpl_vars['formId']->value;?>
" name="<?php echo $_smarty_tpl->tpl_vars['formId']->value;?>
" enctype="multipart/form-data">
                <fieldset>
                <!-- Chi tiet ben trai-->
                <div class="left">
                    <div class="titles"><?php echo smarty_function_l(array('s'=>'infoneed'),$_smarty_tpl);?>
</div>                
<div style="clear:both;">
                    <ul class="tabs">
                        <?php if ($_smarty_tpl->tpl_vars['objectLanguages']->value){?>
                            <?php  $_smarty_tpl->tpl_vars['objectlang'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['objectlang']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['objectLanguages']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['objectlang']->index=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['objectlang']->key => $_smarty_tpl->tpl_vars['objectlang']->value){
$_smarty_tpl->tpl_vars['objectlang']->_loop = true;
 $_smarty_tpl->tpl_vars['objectlang']->index++;
 $_smarty_tpl->tpl_vars['objectlang']->first = $_smarty_tpl->tpl_vars['objectlang']->index === 0;
?> 
                            	<li class="tab <?php if ($_smarty_tpl->tpl_vars['objectlang']->first){?>selected<?php }?>"><?php echo $_smarty_tpl->tpl_vars['objectlang']->value->getField('name');?>
</li>
                            <?php } ?>                                   
                        <?php }?>                        
                    </ul>
                    <?php if ($_smarty_tpl->tpl_vars['objectLanguages']->value){?>
                        <?php  $_smarty_tpl->tpl_vars['objectlang'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['objectlang']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['objectLanguages']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['objectlang']->index=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['objectlang']->key => $_smarty_tpl->tpl_vars['objectlang']->value){
$_smarty_tpl->tpl_vars['objectlang']->_loop = true;
 $_smarty_tpl->tpl_vars['objectlang']->index++;
 $_smarty_tpl->tpl_vars['objectlang']->first = $_smarty_tpl->tpl_vars['objectlang']->index === 0;
?> 
                         	<?php $_smarty_tpl->tpl_vars["company"] = new Smarty_variable(($_smarty_tpl->tpl_vars['objectlang']->value->getField('code'))."_company", null, 0);?>
                            <?php $_smarty_tpl->tpl_vars["address"] = new Smarty_variable(($_smarty_tpl->tpl_vars['objectlang']->value->getField('code'))."_address", null, 0);?>
                            <div class="tabcontent <?php if ($_smarty_tpl->tpl_vars['objectlang']->first){?>selected<?php }?>">
                                <p>
                                    <label for="company_name"><?php echo smarty_function_l(array('s'=>'company'),$_smarty_tpl);?>
</label>
                                    <span><?php echo smarty_function_l(array('s'=>'company_help'),$_smarty_tpl);?>
</span>
                                    <input name="<?php echo $_smarty_tpl->tpl_vars['company']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars[($_smarty_tpl->tpl_vars['company']->value)]->value;?>
" />
				</p> 
                                <p>
                                    <label for="<?php echo $_smarty_tpl->tpl_vars['objectlang']->value->getField('code');?>
_address"><?php echo smarty_function_l(array('s'=>'address'),$_smarty_tpl);?>
</label>
                                    <span><?php echo smarty_function_l(array('s'=>'address_help'),$_smarty_tpl);?>
</span>
                                    <input name="<?php echo $_smarty_tpl->tpl_vars['address']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars[($_smarty_tpl->tpl_vars['address']->value)]->value;?>
" />
				</p>     
                                <br class="clear">
                            </div>
                        <?php } ?>                                   
                    <?php }?>                                    
                </div>                                                                           
                </div>
                <!-- End chi tiet ben trai-->
                <!-- Chi tiet ben phai-->
                <div class="right"> 
                    <div class="titles"><?php echo smarty_function_l(array('s'=>'infononeed'),$_smarty_tpl);?>
</div>
                    <div id="accordion">
                    
                        <div class="title"><?php echo smarty_function_l(array('s'=>'logocp'),$_smarty_tpl);?>
</div>
                        
                        <div class="content first">

                            <p>
                                <label for="avatar"><?php echo smarty_function_l(array('s'=>'avatar'),$_smarty_tpl);?>
</label>
                                <span><?php echo smarty_function_l(array('s'=>'avatar_help'),$_smarty_tpl);?>
</span>
                                <?php if ($_smarty_tpl->tpl_vars['nameFileLogo']->value){?>
                                	<?php echo $_smarty_tpl->tpl_vars['avatar']->value;?>
<br /><br />
                                    <input type="checkbox" name="del_images" id="del_images" style="width:auto"/> &nbsp;<?php echo smarty_function_l(array('s'=>'delavatar'),$_smarty_tpl);?>
<br />

                                <?php }?>
                                <input type="file" name="avatar" id="avatar" />
                            </p>

                        </div>  
                        
                        <div class="title"><?php echo smarty_function_l(array('s'=>'properties'),$_smarty_tpl);?>
</div>
                        
                        <div class="content first">

                            <p>
                                <label for="hotline"><?php echo smarty_function_l(array('s'=>'admin_mail'),$_smarty_tpl);?>
</label>
                                <span><?php echo smarty_function_l(array('s'=>'admin_mail_help'),$_smarty_tpl);?>
</span>
                                <input id="admin_mail" name="admin_mail" value="<?php echo $_smarty_tpl->tpl_vars['admin_mail']->value;?>
" />
                            </p> 
                            <p>
                                <label for="tel"><?php echo smarty_function_l(array('s'=>'tel'),$_smarty_tpl);?>
</label>
                                <span><?php echo smarty_function_l(array('s'=>'tel_help'),$_smarty_tpl);?>
</span>
                                <input id="tel" name="tel" value="<?php echo $_smarty_tpl->tpl_vars['tel']->value;?>
" />
                            </p>
                            
                            <p>
                                <label for="fax"><?php echo smarty_function_l(array('s'=>'fax'),$_smarty_tpl);?>
</label>
                                <span><?php echo smarty_function_l(array('s'=>'fax_help'),$_smarty_tpl);?>
</span>
                                <input id="fax" name="fax" value="<?php echo $_smarty_tpl->tpl_vars['fax']->value;?>
" />
                            </p>
                            <p>
                                <label for="hotline"><?php echo smarty_function_l(array('s'=>'hotline'),$_smarty_tpl);?>
</label>
                                <span><?php echo smarty_function_l(array('s'=>'hotline_help'),$_smarty_tpl);?>
</span>
                                <input id="hotline" name="hotline" value="<?php echo $_smarty_tpl->tpl_vars['hotline']->value;?>
" />
                            </p>

                        </div>

                    </div>                                      
                                    
                </div>
                <!-- End chi tiet ben phai -->
                <!-- Tr�n ra hai ben -->
                <div class="over">
                    <p class="btnType">
                        <input type="hidden" id="op"  name="op" value="<?php echo $_smarty_tpl->tpl_vars['op']->value;?>
" /> 
                        <input type="hidden" id="act" name="act" value="<?php echo $_smarty_tpl->tpl_vars['act']->value;?>
" />
                    </p>
                </div>
                <!-- End tr�n ra hai ben -->
                </fieldset>
            </form>
        </div>
    </div>
</div><?php }} ?>